package net.sudot.chess.business.wechat.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 微信属性
 *
 * @author tangjialin on 2018-03-15.
 */
@ConfigurationProperties(prefix = "system.config.wechat")
public class WechatProperties {
    private String appId;
    private String secret;
    private String token;
    private String aesKey;
    /** 微信一键关注首页 */
    private String home;
    /** 联系客服回复的图片素材ID */
    private String customerServerMediaId;

    public String getAppId() {
        return appId;
    }

    public WechatProperties setAppId(String appId) {
        this.appId = appId;
        return this;
    }

    public String getSecret() {
        return secret;
    }

    public WechatProperties setSecret(String secret) {
        this.secret = secret;
        return this;
    }

    public String getToken() {
        return token;
    }

    public WechatProperties setToken(String token) {
        this.token = token;
        return this;
    }

    public String getAesKey() {
        return aesKey;
    }

    public WechatProperties setAesKey(String aesKey) {
        this.aesKey = aesKey;
        return this;
    }

    public String getHome() {
        return home;
    }

    public WechatProperties setHome(String home) {
        this.home = home;
        return this;
    }

    public String getCustomerServerMediaId() {
        return customerServerMediaId;
    }

    public WechatProperties setCustomerServerMediaId(String customerServerMediaId) {
        this.customerServerMediaId = customerServerMediaId;
        return this;
    }
}
